<!DOCTYPE html>
<html>
<head>
<title>layui</title>
<meta charset="utf-8">
<link rel="stylesheet" href="../layui/css/layui.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body class="main_body">
	<div class="layui-layout layui-layout-admin">
		<!-- 顶部 -->
		<div class="layui-header header">
			<div class="layui-main">
				<a href="javascript:;" class="logo">logo</a>
			    <!-- 顶部右侧菜单 -->
			    <ul class="layui-nav top_menu">
					<li class="layui-nav-item">
						<a href="javascript:;">
							<img src="img/face.jpg" class="layui-circle" width="35" height="35">
							<cite>管理员</cite>
						</a>
						<dl class="layui-nav-child">
							<!-- 
							<dd><a href="javascript:;" data-url="page/user/userInfo"><i class="iconfont icon-zhanghu" data-icon="icon-zhanghu"></i><cite>个人资料</cite></a></dd>
							<dd><a href="javascript:;" data-url="page/user/changePwd"><i class="iconfont icon-shezhi1" data-icon="icon-shezhi1"></i><cite>修改密码</cite></a></dd>
							 -->
							<dd><a href="javascript:;" id="logout"><i class="iconfont icon-loginout"></i><cite>退出</cite></a></dd>
						</dl>
					</li>
				</ul>
			</div>
		</div>
		
		<!-- 左侧导航 -->
		<div class="layui-side layui-bg-black" style="width:120px;">
			<div class="navBar layui-side-scroll">
				<ul class="layui-nav layui-nav-tree">
					<li class="layui-nav-item">
						<a href="javascript:;" data-url="/yaopin">
							<i class="layui-icon" data-icon="&#xe600;">&#xe600;</i>
							<cite>药品管理</cite>
						</a>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;" data-url="/jinhuo">
							<i class="layui-icon" data-icon="&#xe63c;">&#xe63c;</i>
							<cite>进货管理</cite>
						</a>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;" data-url="/dingdan">
							<i class="layui-icon" data-icon="&#xe61d;">&#xe61d;</i>
							<cite>订单管理</cite>
						</a>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;" data-url="/tuihuo">
							<i class="layui-icon" data-icon="&#xe65c;">&#xe65c;</i>
							<cite>退货管理</cite>
						</a>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;" data-url="/fanhuo">
							<i class="layui-icon" data-icon="&#xe60e;">&#xe60e;</i>
							<cite>返货管理</cite>
						</a>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;" data-url="/maihuo">
							<i class="layui-icon" data-icon="&#xe620;">&#xe620;</i>
							<cite>销量统计</cite>
						</a>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;" data-url="/jinetongji">
							<i class="layui-icon" data-icon="&#xe62c;">&#xe62c;</i>
							<cite>金额统计</cite>
						</a>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;" data-url="/huiyuan">
							<i class="layui-icon" data-icon="&#xe612;">&#xe612;</i>
							<cite>会员管理</cite>
						</a>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;" data-url="/daijin">
							<i class="layui-icon" data-icon="&#xe66c;">&#xe66c;</i>
							<cite>代金券</cite>
						</a>
					</li>
				</ul>
			</div>
		</div>
		
		<!-- 右侧内容 -->
		<div class="layui-body layui-form" style="bottom: 0;left: 120px;">
			<div class="layui-tab top_tabs_box" lay-filter="tab">
				<ul class="layui-tab-title top_tab" style="position: absolute;">
					<li class="layui-this"><i class="layui-icon">&#xe628;</i><cite>控制台</cite></li>
				</ul>
				<div class="layui-tab-content clildFrame">
					<div class="layui-tab-item layui-show">
						<iframe src="kongzhitai"></iframe>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript" src="../layui/layui.js"></script>
<script type="text/javascript" src="js/tab.js"></script>
<script>
layui.use(['jquery','layer'],function(){
	var $ = layui.jquery;
	var layer = layui.layer;
	
	// 退出登录
	$("#logout").on("click", function(){
		$.post("/logout", function(data){
			location.href="/";
		})
	})
	
})
</script>
</html>